var FRAMES = [
	"images/RunRight_00000.png",
	"images/RunRight_00001.png",
	"images/RunRight_00002.png",
	"images/RunRight_00003.png",
	"images/RunRight_00004.png",
	"images/RunRight_00005.png",
	"images/RunRight_00006.png",
	"images/RunRight_00007.png",
	"images/RunRight_00008.png",
	"images/RunRight_00009.png",
	"images/RunRight_00010.png",
	"images/RunRight_00011.png",
	"images/RunRight_00012.png"
];

var Model = function(x, y){
	var X_SIZE = 25;
	var Y_SIZE = 32;
	var X_COUNT = x || 50;
	var Y_COUNT = y || 25;

	var model = [];
	for(var i = 0; i < X_COUNT; i++){
		for(var j = 0; j < Y_COUNT; j++){
			model.push({
				x: X_SIZE * i,
				y: Y_SIZE * j,
				frames: FRAMES,
				current: Math.floor(Math.random()*FRAMES.length)
			});
		}
	}
	return model;
};